var HOST = "www.oschina.net";//192.168.1.213  www.oschina.net
var HTTP = "http://";
var HTTPS = "https://";
var URL_SPLITTER = "/";
var URL_UNDERLINE = "_";
var URL_API_HOST = HTTP + HOST + URL_SPLITTER;
var LOGIN_VALIDATE_HTTP = HTTP + HOST + URL_SPLITTER + "action/api/login_validate";
var LOGIN_VALIDATE_HTTPS = HTTPS + HOST + URL_SPLITTER + "action/api/login_validate";
var NEWS_LIST = URL_API_HOST+"action/api/news_list";
var NEWS_DETAIL = URL_API_HOST+"action/api/news_detail";
var POST_LIST = URL_API_HOST+"action/api/post_list";
var POST_DETAIL = URL_API_HOST+"action/api/post_detail";
var POST_PUB = URL_API_HOST+"action/api/post_pub";
var TWEET_LIST = URL_API_HOST+"action/api/tweet_list";
var TWEET_DETAIL = URL_API_HOST+"action/api/tweet_detail";
var TWEET_PUB = URL_API_HOST+"action/api/tweet_pub";
var TWEET_DELETE = URL_API_HOST+"action/api/tweet_delete";
var ACTIVE_LIST = URL_API_HOST+"action/api/active_list";
var MESSAGE_LIST = URL_API_HOST+"action/api/message_list";
var MESSAGE_DELETE = URL_API_HOST+"action/api/message_delete";
var MESSAGE_PUB = URL_API_HOST+"action/api/message_pub";
var COMMENT_LIST = URL_API_HOST+"action/api/comment_list";
var COMMENT_PUB = URL_API_HOST+"action/api/comment_pub";
var COMMENT_REPLY = URL_API_HOST+"action/api/comment_reply";
var COMMENT_DELETE = URL_API_HOST+"action/api/comment_delete";
var SOFTWARECATALOG_LIST = URL_API_HOST+"action/api/softwarecatalog_list";
var SOFTWARETAG_LIST = URL_API_HOST+"action/api/softwaretag_list";
var SOFTWARE_LIST = URL_API_HOST+"action/api/software_list";
var SOFTWARE_DETAIL = URL_API_HOST+"action/api/software_detail"; 
var USERBLOG_LIST = URL_API_HOST+"action/api/userblog_list";
var USERBLOG_DELETE = URL_API_HOST+"action/api/userblog_delete";
var BLOG_LIST = URL_API_HOST+"action/api/blog_list";
var BLOG_DETAIL = URL_API_HOST+"action/api/blog_detail";
var BLOGCOMMENT_LIST = URL_API_HOST+"action/api/blogcomment_list";
var BLOGCOMMENT_PUB = URL_API_HOST+"action/api/blogcomment_pub";
var BLOGCOMMENT_DELETE = URL_API_HOST+"action/api/blogcomment_delete";
var MY_INFORMATION = URL_API_HOST+"action/api/my_information";
var USER_INFORMATION = URL_API_HOST+"action/api/user_information";
var USER_UPDATERELATION = URL_API_HOST+"action/api/user_updaterelation";
var USER_NOTICE = URL_API_HOST+"action/api/user_notice";
var NOTICE_CLEAR = URL_API_HOST+"action/api/notice_clear";
var FRIENDS_LIST = URL_API_HOST+"action/api/friends_list";
var FAVORITE_LIST = URL_API_HOST+"action/api/favorite_list";
var FAVORITE_ADD = URL_API_HOST+"action/api/favorite_add";
var FAVORITE_DELETE = URL_API_HOST+"action/api/favorite_delete";
var SEARCH_LIST = URL_API_HOST+"action/api/search_list";
var PORTRAIT_UPDATE = URL_API_HOST+"action/api/portrait_update";
var UPDATE_VERSION = URL_API_HOST+"MobileAppVersion.xml";
var URL_HOST = "oschina.net";
var URL_WWW_HOST = "www."+URL_HOST;
var URL_MY_HOST = "my."+URL_HOST;
var URL_TYPE_NEWS = URL_WWW_HOST + URL_SPLITTER + "news" + URL_SPLITTER;
var URL_TYPE_SOFTWARE = URL_WWW_HOST + URL_SPLITTER + "p" + URL_SPLITTER;
var URL_TYPE_QUESTION = URL_WWW_HOST + URL_SPLITTER + "question" + URL_SPLITTER;
var URL_TYPE_BLOG = URL_SPLITTER + "blog" + URL_SPLITTER;
var URL_TYPE_TWEET = URL_SPLITTER + "tweet" + URL_SPLITTER;
var URL_TYPE_ZONE = URL_MY_HOST + URL_SPLITTER + "u" + URL_SPLITTER;
var URL_TYPE_QUESTION_TAG = URL_TYPE_QUESTION + "tag" + URL_SPLITTER;



var DEFAULT_PICTURES = URL_API_HOST+"img/portrait.gif";
